Withdrawal by Card Number
Example of withdrawal transaction by card number:
To initialize a request with confirmation:
curl --location 'https://heth.me/api/v1/transactions' \
--header 'Content-Type: application/json' \
--header 'x-api-key: 440944de-e5a4-6aab-9c57-3bf2e7282c64' \
--data '{
"params": {
"amount": 100000000000000000,
"currency": "USDT",
"env": "prod",
"type": "payout",
"route": "hot_hot_ETH",
"money_storage": {
"network": "ETH",
"type": "bank_card",
"currency": "USDT",
"cardnumber": "9981050281497239"
},
"description": "Withdrawal",
"txid": "hot-hot_test"
}
}'
Field | Description | Type | Example |
---|---|---|---|
amount | Transaction amount (in minor units) | Number | 10000000000000000000 |
currency | Transaction currency (default USDT) | String | USDT |
env | Transaction environment (default prod) | String | prod |
route | Transaction route (must match route mapping) | String | hot_hot_ETH |
type | Transaction type (in this case payout) | String | payout |
money_storage | Recipient data object | Object | |
>network | Blockchain network (TRX or ETH) | String | ETH |
>type | Transaction type for wallets (here bank_card) | String | bank_card |
>currency | Recipient currency (default USDT) | String | USDT |
>cardnumber | Recipient card number | String | 9981050281497239 |
description | Transaction description | String | Withdrawal |
txid | Transaction identifier | String | hot-hot_test |